<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org"
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="layout :: htmlhead" th:with="title='申报图像信息'">
<meta charset="UTF-8"/>
<title>申报图像信息</title>
<script type="text/javascript" src="layui/layui.js"></script>
<script type="text/javascript" src="layui/config.js"></script>
<link rel="stylesheet" href="layui/css/layui.css"/>
</head>
<style>
.layui-form-label {
	width:155px;
}
</style>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!--头-->
    <div th:replace="fragments/head :: header"></div>

    <div class="layui-body" style="margin: 1%">
	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
	   <blockquote class="layui-elem-quote">经营服务单位基本信息</blockquote>
	</fieldset>
	 
	<form class="layui-form" th:action="@{'/park/basicImage'}" enctype="multipart/form-data" method="post">
	  <div class="layui-form-item">
	    <label class="layui-form-label">营业执照
	    <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">营业执照
	    <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <!--<div class="layui-form-item">
	    <div class="layui-inline">
	      <label class="layui-form-label">税务登记证</label>
	      <div class="layui-input-inline">
	       <button class="layui-btn" id="test1" type="button">上传图片</button>
	      </div>
	    </div>
	    <div class="layui-inline">
	      <label class="layui-form-label">预览</label>
	      <div class="layui-input-inline layui-upload-list">
	        <img class="layui-upload-img" id="demo1"/>
	      </div>
	    </div>
	  </div>-->
  
	  <div class="layui-form-item">
	    <label class="layui-form-label">法人身份证
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">经办人身份证
	    <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file"  id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		   <blockquote class="layui-elem-quote">土地使用权证明材料    (若土地使用权人和营业执照名称一致，则无需提供土地租赁合同)</blockquote>
	  </fieldset>
	  
	   <div class="layui-form-item">
	    <label class="layui-form-label ">土地证
	    <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file"  id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	   <div class="layui-form-item">
	    <label class="layui-form-label ">土地租赁合同1</label>
	    <div class="layui-input-block"> 
		  <input name="file"  id="file" type="file" />
	    </div>
	  </div>
	   <div class="layui-form-item">
	    <label class="layui-form-label">土地租赁合同2</label>
	    <div class="layui-input-block "> 
		  <input name="file" id="file" type="file"/>
	    </div>
	  </div>
	  
	   <div class="layui-form-item">
	    <label class="layui-form-label ">土地租赁合同3</label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file"/>
	    </div>
	  </div>
	
	  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		   <blockquote class="layui-elem-quote">停车场平面图</blockquote>
	  </fieldset>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">停车场内部基本平面图
	    <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  
	  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		   <blockquote class="layui-elem-quote">符合规定的设施设备清单表</blockquote>
	  </fieldset>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">停车场设施设备清单
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		   <blockquote class="layui-elem-quote">经营，服务，安全管理制度</blockquote>
	  </fieldset>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">收费标准
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">停放制度
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">安全制度
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">防汛制度
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">消防管理制度
	     <span class="layui-badge-dot"></span>
	    </label>
	    <div class="layui-input-block"> 
		  <input name="file" id="file" type="file" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <div class="layui-input-block">
	      <button class="layui-btn" lay-filter="demo1" lay-submit="">提交上传</button>
	      <button class="layui-btn layui-btn-primary" type="reset">重置</button>
	    </div>
	  </div>
	</form>
	 
	 </div>
	</div>
<script src="layui/layui.js" charset="utf-8"></script>
<script>
layui.use('upload', function(){
  var $ = layui.jquery
  ,upload = layui.upload;
  
  //普通图片上传
  var uploadInst = upload.render({
    elem: '#test1'
    ,url: '/upload/'
    ,before: function(obj){
      //预读本地文件示例，不支持ie8
      obj.preview(function(index, file, result){
        $('#demo1').attr('src', result); //图片链接（base64）
      });
    }
  });
});
</script>
</body>
</html>